# Copyright (C) 2024 Advanced Micro Devices, Inc.  All rights reserved.
# SPDX-License-Identifier: MIT

add_subdirectory(aes)
add_subdirectory(sha)
if (NOT(("${CMAKE_MACHINE}" STREQUAL "SPARTANUP")))
  add_subdirectory(rsa)
  add_subdirectory(ecdsa)
  add_subdirectory(crypto_kat)
  add_subdirectory(generic)
  add_subdirectory(util)
endif()
if(("${CMAKE_SUBMACHINE}" STREQUAL "VersalNet"))
  add_subdirectory(hmac)
  add_subdirectory(ecc_keypair)
  add_subdirectory(key_zeroize)
  add_subdirectory(key_unwrap)
  add_subdirectory(trng)
  add_subdirectory(softsha2-384)
endif()
if(("${CMAKE_SUBMACHINE}" STREQUAL "VersalGen2"))
  add_subdirectory(hmac)
  add_subdirectory(ecc_keypair)
  add_subdirectory(key_zeroize)
  add_subdirectory(trng)
  add_subdirectory(softsha2-384)
endif()
